function exportExcel(name) {
	var exportFileContent = document.getElementById("table2excel").outerHTML;
	var blob = new Blob([exportFileContent], { type: "text/plain;charset=utf-8" });         //解决中文乱码问题
	blob = new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type });
	var link = window.URL.createObjectURL(blob);
	var a = document.createElement("a");    //创建a标签
	a.download = name + "-数据下载.xls";  //设置被下载的超链接目标（文件名）
	a.href = link;                            //设置a标签的链接
	document.body.appendChild(a);            //a标签添加到页面
	a.click();                                //设置a标签触发单击事件
	document.body.removeChild(a);            //移除a标签
};

function exportExcel2() {
	var exportFileContent = $("#tableTexcel").children("div").eq(3).html();
	//console.log(exportFileContent);
	//var exportFileContent = document.getElementById("tableTexcel").outerHTML;
	var blob = new Blob([exportFileContent], { type: "text/plain;charset=utf-8" }); //解决中文乱码问题
	blob = new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type });
	var link = window.URL.createObjectURL(blob);
	var a = document.createElement("a");    //创建a标签
	a.download = "查询数据下载.xlsx";  //设置被下载的超链接目标（文件名）
	a.href = link;                           //设置a标签的链接
	document.body.appendChild(a);            //a标签添加到页面
	a.click();                               //设置a标签触发单击事件
	document.body.removeChild(a);            //移除a标签
};